package com.hex.ds.hdtp.core.inf.data.table.repository;

import com.hex.ds.hdtp.core.inf.common.page.Page;
import com.hex.ds.hdtp.core.inf.common.repository.IBasicRepository;
import com.hex.ds.hdtp.core.inf.data.table.po.TableTransferFieldMapPo;
import com.hex.ds.hdtp.core.inf.data.table.po.TableTransferListPo;

import java.util.List;

/**
 * @Package com.hex.ds.hdtp.core.inf.data.table.repository
 * @ClassName ITableTransferFieldMapRepository
 * @Description 表迁移清单字段映射-数据服务接口
 * @Author Wang zhihao
 * @Date 2023/8/9 12:03
 * @Version v1.0
 **/
public interface ITableTransferFieldMapRepository extends IBasicRepository<TableTransferFieldMapPo> {

    /**
     * @Method queryListByPage
     * @Param
     * @param tableTransferFieldMapPo
     * @param toPage
     * @Return com.hex.ds.hdtp.core.inf.common.page.Page<com.hex.ds.hdtp.core.inf.data.table.po.TableTransferFieldMapPo>
     * @Description 表迁移清单字段映射-分页查询
     * @Author Wang zhihao
     * @Date 2023/8/9 12:03
     * @Version V1.0
     */
    Page<TableTransferFieldMapPo> queryListByPage(TableTransferFieldMapPo tableTransferFieldMapPo, Page toPage);

    /**
     * @Method queryList
     * @Param
     * @param tableTransferFieldMapPo
     * @Return java.util.List<com.hex.ds.hdtp.core.inf.data.table.po.TableTransferFieldMapPo>
     * @Description 不分页查询
     * @Author Wang zhihao
     * @Date 2023/8/11 16:53
     * @Version V1.0
     */
    List<TableTransferFieldMapPo> queryList(TableTransferFieldMapPo tableTransferFieldMapPo);

    /**
     * @Method removeByListPkId
     * @Param
     * @param listPkId
     * @Return void
     * @Description 根据表迁移清单主键删除
     * @Author Wang zhihao
     * @Date 2023/8/15 13:56
     * @Version V1.0
     */
    void removeByListPkId(String listPkId);
}
